package com.yxj.controller;

import com.yxj.annoation.ExecTimeAnn;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AopTest {
    @ExecTimeAnn
    @GetMapping("hello/{name}/{age}")
    public void say(@PathVariable String name,@PathVariable Integer age) {
        System.out.println("hello"+name+age);
    }
}
